package com.example.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.entity.RelationAddress;
import com.example.service.RelationAddressService;
import com.example.mapper.RelationAddressMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author JOYY
* @description 针对表【wd_relation_address】的数据库操作Service实现
* @createDate 2023-02-04 14:24:28
*/
@Service
public class RelationAddressServiceImpl extends ServiceImpl<RelationAddressMapper, RelationAddress>
    implements RelationAddressService{

    @Autowired
    private RelationAddressMapper relationAddressMapper;

    @Override
    public List<String> getList(String userId) {
        List<String> list = relationAddressMapper.getAddressIdList(userId);
        return list;
    }
}




